package com.muyu.danmo.service;


import com.muyu.common.core.domain.Result;
import com.muyu.danmo.domain.DanmoCollectShellfish;

import java.util.List;

/**
 * 拾贝信息Service接口
 *
 * @author yangle
 * @date 2024-10-30
 */
public interface IDanmoCollectShellfishService
{
    /**
     * 查询拾贝信息
     *
     * @param id 拾贝信息主键
     * @return 拾贝信息
     */
    public Result selectDanmoCollectShellfishById(Long id);

    /**
     * 查询拾贝信息列表
     *
     * @param danmoCollectShellfish 拾贝信息
     * @return 拾贝信息集合
     */
    public List<DanmoCollectShellfish> selectDanmoCollectShellfishList(DanmoCollectShellfish danmoCollectShellfish);

    /**
     * 新增拾贝信息
     *
     * @param danmoCollectShellfish 拾贝信息
     * @return 结果
     */
    public Result insertDanmoCollectShellfish(DanmoCollectShellfish danmoCollectShellfish);

    /**
     * 修改拾贝信息
     *
     * @param danmoCollectShellfish 拾贝信息
     * @return 结果
     */
    public Result updateDanmoCollectShellfish(DanmoCollectShellfish danmoCollectShellfish);

    /**
     * 批量删除拾贝信息
     *
     * @param ids 需要删除的拾贝信息主键集合
     * @return 结果
     */
    public Result deleteDanmoCollectShellfishByIds(Long[] ids);

    /**
     * 删除拾贝信息信息
     *
     * @param id 拾贝信息主键
     * @return 结果
     */
    public int deleteDanmoCollectShellfishById(Long id);

    List<DanmoCollectShellfish> myShellfish(Long userId);

    Result updateDanmoCollectShellfishById(Long id);

    Result updateDanmoCollectShellfishListedById(Long id);

    /**
     * 查询拾贝信息收藏
     *
     * @return 结果
     */
    Result selectDanmoCollectMaterialCollection();

    DanmoCollectShellfish selectDanmoPortfolioById(Long id);
}
